import {get,post,del} from '../utils/request'

// 加入购物车
export const addToCartAPI =(data)=>post('/members/shop_carts',data)

//获取购物车数据
export const loadCartAPI = ()=>get('/members/shop_carts')

//删除多个
export const delFromCartAPI = (id)=>del('/members/shop_carts?id='+id)
